package com.all.common;

import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;

public class BaseDialog extends Dialog {
	
	protected Context mContext;
	protected LayoutInflater mInflater;

	public BaseDialog(Context context, boolean cancelable,
			OnCancelListener cancelListener) {
		super(context, cancelable, cancelListener);
		init(context);
	}

	public BaseDialog(Context context, int theme) {
		super(context, theme);
		init(context);
	}

	public BaseDialog(Context context) {
		super(context);
		init(context);
	}
	
	protected void init(Context context) {
		mContext = context;
		mInflater = LayoutInflater.from(mContext);
	}
}
